package cn.com.jtang.wedding.dao;

import java.util.List;
import java.util.Map;
import cn.com.jtang.wedding.model.AdminUser;

public interface AdminUserDao {
	
	public String insert(AdminUser adminUser);
	
	public AdminUser queryById(Long id);
	
	public int updateById(Long id, AdminUser adminUser);
	
	public int deleteById(Long id);
	
	public List queryAll(Map<String, Object> map, int start,int end, String... orderByStr);
	
	public int getCount(Map<String, Object> map);

	public AdminUser queryByKey(String keyName, String keyValue);

}
